// 导入请求接口的信息
import request from "@/utils/request";

//请求登录的Api接口地址
export const login = (data)=>{
    return request({
        url:"/login",
        method:"post",
        data
    })
}


//请求左侧菜单数据展示
export const getMenu = ()=>{
    return request({
        url:"/menus",
        method:"get",
    })
}